package com.common.response;

/**
 * @program: my-springboot
 * @description:
 * @author: zyj
 * @create: 2019-12-05 11:43
 **/
public interface BaseResponse {
    ResponseBean error();

    ResponseBean errorCode(String code);

    ResponseBean errorCodeMsg(String code, String message);

    ResponseBean successCodeMsgData(String code, String message, Object data);

    ResponseBean successCodeMsg(String code, String message);

    ResponseBean successCode(String code);

    ResponseBean success();

}
